package map.infos;

import logic.nodes.nodeSettings.Settings;

import com.jme.math.Vector3f;

public class TeamInfos extends Settings {
	
	private final String MOTHER_SHIP = "motherShip";
	private final String ORIENTATION = "Orientation";
	
	public TeamInfos(Settings settings) {
		super(settings);
	}

	public Vector3f getMotherShipSpawn() {
		float x = Float.valueOf(getValueOf(MOTHER_SHIP + "X")).floatValue();
		float y = Float.valueOf(getValueOf(MOTHER_SHIP + "Y")).floatValue();
		float z = Float.valueOf(getValueOf(MOTHER_SHIP + "Z")).floatValue();
		return new Vector3f(x, y, z);
	}
	
	public float getMSSpawnAngle() { return Float.valueOf(getValueOf(ORIENTATION)).floatValue(); }
}